<script>
	export default {
		onLaunch: function () {
			console.log('App Launch');
			uni.onWindowResize((res) => {
				uni.reLaunch({
					success: () => {
						console.log('onWindowResize')
					}
				})
			})
		},
		onShow: function () {
			console.log('App Show')
		},
		onHide: function () {
			console.log('App Hide')
		}
	}
</script>

<style>
	*{
		font-style: normal;
	}
	.input-group {
	    background-color: #ffffff;
	    margin-top: 40upx;
	    position: relative;
	}
	
	.input-group::before {
	    position: absolute;
	    right: 0;
	    top: 0;
	    left: 0;
	    height: 1upx;
	    content: '';
	    -webkit-transform: scaleY(.5);
	    transform: scaleY(.5);
	    background-color: #c8c7cc;
	}
	
	.input-group::after {
	    position: absolute;
	    right: 0;
	    bottom: 0;
	    left: 0;
	    height: 1upx;
	    content: '';
	    -webkit-transform: scaleY(.5);
	    transform: scaleY(.5);
	    background-color: #c8c7cc;
	}
	
	.input-row {
	    display: flex;
	    flex-direction: row;
	    position: relative;
	}
	
	.input-row .title {
	    width: 20%;
	    height: 50upx;
	    min-height: 50upx;
	    padding: 15upx 0;
	    padding-left: 30upx;
	    line-height: 50upx;
	}
	
	.input-row.border::after {
	    position: absolute;
	    right: 0;
	    bottom: 0;
	    left: 15upx;
	    height: 1upx;
	    content: '';
	    -webkit-transform: scaleY(.5);
	    transform: scaleY(.5);
	    background-color: #c8c7cc;
	}
	
	.btn-row {
	    margin-top: 50upx;
	    padding: 20upx;
	}
	
	button.primary {
	    background-color: #0faeff;
	}
	.articleContent {
	  word-break: break-word;
	  line-height: 1.75;
	  font-weight: 400;
	  font-size: 15px;
	  max-width: 900px;
	  background-color: #fff;
	  margin: auto;
	}
	
	.articleContent h1 {
	  margin: 1.3rem 0;
	  line-height: 1.2
	}
	
	.articleContent p {
	  line-height: 2.27rem
	}
	
	.articleContent hr {
	  border-top: 1px solid #ddd;
	  border-bottom: none;
	  border-left: none;
	  border-right: none;
	  /*margin-top: 2.7rem;
	  margin-bottom: 2.7rem
	  */
	}
	
	.articleContent embed,.articleContent iframe,.articleContent img:not(.equation),.articleContent video {
	  max-width: 100%;
	  margin: 0
	}
	
	.articleContent img.lazyload {
	  visibility: hidden
	}
	
	.articleContent img.inited {
	  background-color: #f8f9fa;
	  background-position: 50%;
	  background-repeat: no-repeat;
	  visibility: visible
	}
	
	.articleContent img.loaded {
	  background-image: none;
	  background-color: transparent
	}
	
	.articleContent img.error {
	  background-image: url()
	}
	
	.articleContent img.equation {
	  margin: 0 .1em;
	  max-width: 100%;
	  vertical-align: text-bottom
	}
	
	.articleContent img:not(.equation) {
	  cursor: zoom-in
	}
	
	.articleContent .figure {
	  margin: 0 auto;
	  text-align: center
	}
	
	.articleContent .figure figcaption {
	  text-align: center;
	  font-size: 1rem;
	  line-height: 2.7rem;
	  color: #909090
	}
	
	.articleContent .pre {
	  line-height: 1.93rem;
	  overflow: auto;
	}
	
	.articleContent code,.articleContent .pre {
	  font-family: Menlo,Monaco,Consolas,Courier New,monospace
	}
	
	.articleContent code {
	  padding: .26rem .53em;
	  word-break: break-word;
	  color: #6699FF;
	  border-radius: 2px;
	  overflow-x: auto;
		display: inline;
	}
	
	.articleContent .pre>code {
	  font-size: 1rem;
	  padding: .67rem 1.3rem;
	  margin: 0;
	  word-break: normal;
	  display: block
	}
	
	.articleContent a {
	  color: #259
	}
	
	.articleContent a:active,.articleContent a:hover {
	  color: #275b8c
	}
	
	.articleContent table {
	  display: inline-block!important;
	  font-size: 1rem;
	  width: auto;
	  max-width: 100%;
	  overflow: auto;
	  border: 1px solid #f6f6f6
	}
	
	.articleContent thead {
	  background: #f6f6f6;
	  color: #000;
	  text-align: left
	}
	
	.articleContent tr:nth-child(2n) {
	  background-color: #fcfcfc
	}
	
	.articleContent td,.articleContent th {
	  padding: 1rem .6rem;
	  line-height: 2rem
	}
	
	.articleContent blockquote {
	  /*margin: 1em 0;*/
	  border-left: 4px solid #ddd;
	  padding: 0 1.3rem
	}
	
	.articleContent blockquote>p {
	  margin: .6rem 0
	}
	

	
	.articleContent ul {
	  padding-left: 2.7rem
	}
	
	.articleContent ol li,.articleContent ul li {
	  margin-bottom: .6rem
	}
	
	.articleContent ol ol,.articleContent ol ul,.articleContent ul ol,.articleContent ul ul {
	  margin-top: .27rem
	}
	
	.articleContent .pre>code {
	  overflow-x: auto;
	  -webkit-overflow-scrolling: touch;
	  color: #333;
	  background: #f8f8f8
	}
	
	.articleContent .hljs-comment,.articleContent .hljs-quote {
	  color: #998
	}
	
	.articleContent .hljs-function {
		display: inline;
	}
	
	.articleContent .hljs-keyword,.articleContent .hljs-selector-tag,.articleContent .hljs-subst {
	  color: #333;
	  font-weight: 700
	}
	
	.articleContent .hljs-literal,.articleContent .hljs-number,.articleContent .hljs-tag .hljs-attr,.articleContent .hljs-template-variable,.articleContent .hljs-variable {
	  color: teal
	}
	
	.articleContent .hljs-doctag,.articleContent .hljs-string {
	  color: #d14
	}
	
	.articleContent .hljs-section,.articleContent .hljs-selector-id,.articleContent .hljs-title {
	  color: #900;
	  font-weight: 700
	}
	
	.articleContent .hljs-subst {
	  font-weight: 400
	}
	
	.articleContent .hljs-class .hljs-title,.articleContent .hljs-type {
	  color: #458;
	  font-weight: 700
	}
	
	.articleContent .hljs-attribute,.articleContent .hljs-name,.articleContent .hljs-tag {
	  color: navy;
	  font-weight: 400
	}
	
	.articleContent .hljs-link,.articleContent .hljs-regexp {
	  color: #009926
	}
	
	.articleContent .hljs-bullet,.articleContent .hljs-symbol {
	  color: #990073
	}
	
	.articleContent .hljs-built_in,.articleContent .hljs-builtin-name {
	  color: #0086b3
	}
	
	.articleContent .hljs-meta {
	  color: #999;
	  font-weight: 700
	}
	
	.articleContent .hljs-deletion {
	  background: #fdd
	}
	
	.articleContent .hljs-addition {
	  background: #dfd
	}
	
	.articleContent .hljs-emphasis {
	  font-style: italic
	}
	
	.articleContent .hljs-strong {
	  font-weight: 700
	}
	
	.articleContent p {
	  line-height: 1.5rem;
	  margin-top: 0.1rem;
	  margin-bottom: 0.1rem;
	}
	
	.articleContent img {
	  max-height: none
	}
	
	.articleContent a {
	  color: #0269c8;
	  border-bottom: 1px solid #d1e9ff
	}
	
	.articleContent code {
	  background-color: #fff5f5;
	  color: #ff502c;
	  font-size: .87em;
	  padding: .065em .4em
	}
	
	.articleContent figure {
	  margin: 22px auto
	}
	
	.articleContent figure figcaption {
	  margin-top: 2px;
	  line-height: 1.6
	}
	
	.articleContent blockquote {
	  color: #666;
	  padding: 1px 10px;
	  border-left: 4px solid #cbcbcb;
	  background-color: #ffe
	}
	
	.articleContent blockquote span {
	  display: inline-block;
	}
	
	.articleContent blockquote:after {
	  display: block;
	  content: ""
	}
	
	.articleContent blockquote>p {
	  margin: 10px 0
	}
	
	.articleContent blockquote.warning {
	  position: relative;
	  border-left-color: #f75151
	}
	
	.articleContent blockquote.warning:before {
	  position: absolute;
	  top: 14px;
	  left: -12px;
	  background: #f75151;
	  border-radius: 50%;
	  content: "!";
	  width: 20px;
	  height: 20px;
	  color: #fff;
	  display: -ms-flexbox;
	  display: flex;
	  -ms-flex-align: center;
	  align-items: center;
	  -ms-flex-pack: center;
	  justify-content: center
	}
	
	.articleContent ol,.articleContent ul {
	  padding-left: 28px
	}
	
	.articleContent ol li,.articleContent ul li {
	  margin-bottom: 0;
	  list-style: none;
	}
	
	.articleContent ol li.task-list-item,.articleContent ul li.task-list-item {
	  list-style: none
	}
	
	.articleContent ol li.task-list-item ol,.articleContent ol li.task-list-item ul,.articleContent ul li.task-list-item ol,.articleContent ul li.task-list-item ul {
	  margin-top: 0
	}
	
	.articleContent ol li {
	  padding-left: 6px
	}
	
	.articleContent .pre {
	  position: relative;
	  line-height: 1.75;
	  display: block;
	  overflow-x: auto;
	  white-space: nowrap;
	  overflow-y: hidden;
	  width: 100%;
		background: #f8f8f8;
		border-left: 4px solid #cbcbcb;
		padding: 10upx;
	}
	
	.articleContent .pre>code {
	  padding: 15px 12px;
	  font-size: 11px;
	}
	
	.articleContent .pre>code.hljs[lang] {
	  padding: 18px 15px 12px;
	}
	
	.articleContent .pre>code.hljs[lang]:before {
	  content: attr(lang);
	  position: absolute;
	  right: 15px;
	  top: 2px;
	  color: hsla(0,0%,55%,.8)
	}
	
	.articleContent .pre>code.hljs[lang][lang=bash]:before {
	  content: ""
	}
	
	.articleContent .pre>code.copyable .copy-code-btn {
	  position: absolute;
	  top: 6px;
	  right: 15px;
	  font-size: 12px;
	  line-height: 1;
	  cursor: pointer;
	  color: hsla(0,0%,55%,.8);
	  transition: color .1s
	}
	
	.articleContent .pre>code.copyable .copy-code-btn:hover {
	  color: #8c8c8c;
	}
	
	.articleContent .pre>code.copyable.hljs[lang]:before {
	  right: 70px;
	}
	
	.articleContent h1,.articleContent h2,.articleContent h3,.articleContent h4,.articleContent h5,.articleContent h6 {
	  color: #333;
	  line-height: 1.5;
	  margin-top: 5px;
	  margin-bottom: 0.1rem;
	  padding-bottom: 5px
	}
	
	.articleContent h1 {
	  font-size: 30px;
	  margin-bottom: 5px
	}
	
	.articleContent h2 {
	  padding-bottom: 12px;
	  font-size: 24px;
	  border-bottom: 1px solid #ececec
	}
	
	.articleContent h3 {
	  font-size: 18px;
	  padding-bottom: 0
	}
	
	.articleContent h4 {
	  font-size: 16px
	}
	
	.articleContent h5 {
	  font-size: 15px
	}
	
	.articleContent h6 {
	  margin-top: 5px
	}
	
	.articleContent h1.heading+h2.heading {
	  margin-top: 20px
	}
	
	.articleContent h1.heading+h3.heading {
	  margin-top: 15px
	}
	
	.articleContent .heading+.heading {
	  margin-top: 0
	}
	.articleContent .video-content-wrap{
		display: none;
	}
</style>
